/**
 * Eric Meyer's Reset CSS v2.0 (http://meyerweb.com/eric/tools/css/reset/)
 * http://cssreset.com
 */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header,
menu, nav, output, ruby, section, summary,
time, mark, audio, video, input {
  margin: 0;
  padding: 0;
  border: 0;
  // vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, menu, nav, section {
  display: block
}

body {
  line-height: 1
}

blockquote, q {
  quotes: none
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: none
}

table {
  border-collapse: collapse;
  border-spacing: 0
}

/* custom */

a {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  text-decoration: none;
}

li {
  list-style: none
}

body {
  -webkit-text-size-adjust: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0)
}

@darkThemeColor: #e1102d;

.ant-menu-horizontal.ant-menu-dark {
  color: #fff;
  .ant-menu-submenu:hover,
  .ant-menu-submenu-selected,
  .ant-menu-submenu-title:hover,
  .ant-menu-submenu-active,
  .ant-menu-item-active,
  .ant-menu-submenu.ant-menu-item-active,
  .ant-menu-item-selected {
    background: shade(@darkThemeColor, 20%);
    color: #fff!important;
  }
}

.ant-menu-dark, .ant-menu-dark .ant-menu-sub {
  color: #333;
}

.ant-menu-dark .ant-menu-submenu-title:hover {
  color: @darkThemeColor;
}

.ant-table {
  td, th {
    padding: 2px 4px!important;
  }
}

.ant-card-head-title {
  padding: 8px 0;
}

.ant-btn-link {
  padding: 0 2px;
}
.auto-select {
  user-select: auto!important;
}

.ant-btn-link:focus, .ant-btn-link:hover {
  border-color: transparent!important;
}

.ant-menu-submenu-popup.ant-menu-dark .ant-menu-sub {
  background: #fff;
  a {
    color: #333;
  }
  .ant-menu-item-active, .ant-menu-item-selected {
    background: shade(@darkThemeColor, 20%);
    color: #fff!important;
    a {
      color: #fff;
    }
  }
  // color: @darkThemeColor!important;
}
